package com.fBlog.service.impl;

import java.util.List;

import com.fBlog.pojo.Alphoto;
import com.fBlog.pojo.Photo;
import com.fBlog.pojo.User;

public interface PhotoServiceI {
	/**
	 * @param photo
	 *            
	 * @return 用户对象
	 */
	
	public List<Alphoto> get(String id);

	public void add(String name, String userId);

	public List<Photo> getPhoto(String id);

	public Alphoto getAlphoto(String id);

	public String addPhoto(String name, String alphotoId, String foldName);

	public String saveName(String alphotoId, String nowName,User user,String path,String foldName);

	public String deleteAlphoto(String alphotoId,User user,String path);

	public String deletePhoto(String photoIds,String path);
}
